//========encoding:utf-8=========
/*
 * @describe:  三目运算符
 * @author:mhao
 * @copyright:chinasoft.cn
 * @date:2020年3月17日   下午10:35:05
 */
package edu.chinasoft.handle;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import edu.chinasoft.pojo.People;
@Controller("handler02")
@RequestMapping("/handler02")
public class Handler02 {
	private Logger logger = LoggerFactory.getLogger(Handler02.class);
	public ModelAndView method01(ModelAndView modelAndView,People people) {
		// TODO Auto-generated method stub
		logger.info("Handler02>>>method01  start ……");
		modelAndView.addObject("key01", people);
		modelAndView.setViewName("/loginsuccess.jsp");
		logger.info("Handler02>>>method01  end ……");
		return modelAndView;
	}
}
